<extend name="Public/base" />
<block name="body">
	<!-- BEGIN PAGE CONTENT-->
	<div class="row">
		<div class="col-md-9">
			<form action="{:U('add')}" method="post">
				<div class="tabbable tabbable-custom tabbable-full-width">
					<ul class="nav nav-tabs">
						<li class="active"><a href="#tab1" data-toggle="tab">新增文章分类</a></li>
					</ul>
					<div class="tab-content">
						<div class="tab-pane active" id="tab1">
							<div class="form-group">
								<label class="control-label">上级分类</label>
								<input type="text" class="form-control input-large" disabled value="{$topName}" />
							</div>
							<div class="form-group">
								<label class="control-label">分类名称</label>
								<input type="text" name="title" class="form-control input-large" />
							</div>
							<div class="form-group">
								<label class="control-label">排序</label>
								<input type="text" name="sort" class="form-control input-small" value="0" />
							</div>
						</div>
						<input type="hidden" name="pid" value="{:I('get.pid')}">
						<label  class="control-label"></label>
						<div class="margin-top-10">
							<button type="button" class="btn green ajax-post">确 认</button>
							<a href="javascript:" onclick="javascript:history.back(-1);return false;" class="btn default"> 返 回 </a>
						</div>
					</div>

				</div>
			</form>
		</div>
	</div> 
</block>
<block name="script">
	<script type="text/javascript">
	    $(function(){
			//导航高亮
			highlight_subnav('{:U('index')}');
		});
	</script>
</block>